const state={
	circleData:[],     //造物圈类型数据
  circle_id:"",     //circle_id_id
  tagGood:"0",       //判断是否点击右边的点赞按钮
  page:"0",          //目前显示的页数
  ifLoad:false,
};
const mutations={
  setCircleData(state,value){
      state.circleData=value;
  },
  setCircleId(state,value){
      state.circle_id=value;
  },
  setTagGood(state,value){
      state.tagGood=value;
  },
  setPage(state,value){
      state.page=value;
  },
  setIfLoad(state,value){
      state.ifLoad=value;
  },
};
const actions={
  setCircleData(content,value){
      content.commit('setCircleData',value)
  },
  setCircleId(content,value){
      content.commit('setCircleId',value)
  },
  setTagGood(content,value){
      content.commit('setTagGood',value)
  },
  setPage(content,value){
      content.commit('setPage',value)
  },
  setIfLoad(content,value){
      content.commit('setIfLoad',value)
  },
};
 
// 不要忘记把state, mutations等暴露出去。
export default {
  state,
  mutations,
  actions
}